@extends('layouts.app')

@section('content')
    {{--<section class="content-header">--}}
        {{--<h1 class="pull-left">商品</h1>--}}
        {{--<h1 class="pull-right">--}}
           {{--<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('goods.create') !!}">添加</a>--}}
        {{--</h1>--}}

        {{--<div class="" style="clear: both">--}}
            {{--{!! Form::open(['route' => 'goods.index','method'=>'GET']) !!}--}}
            {{--{!! Form::label('', '选择订单状态:') !!}--}}
            {{--<select name="category_id">--}}
                {{--<option value="">选择商品分类</option>--}}
                {{--@foreach($categories as $category)--}}
            {{--<option value="{{$category->id}}" {{ (isset($request['category_id'])&&$request['category_id']==$category->id)?'selected = "selected"':'' }}>{{ $category->name }}</option>--}}
                {{--@endforeach--}}
            {{--</select>--}}
            {{--<input type="text" name="name" value="{{ (isset($request['name'])&&$request['name'])?$request['name']:'' }}" placeholder="搜索名称">--}}
            {{--------}}
            {{--<select name="order">--}}
                {{--<option value="">选择排序属性</option>--}}
                {{--<option value="sort" {{ (isset($request['order'])&&$request['order']=='sort')?'selected = "selected"':'' }}>默认</option>--}}
                {{--<option value="id" {{ (isset($request['order'])&&$request['order']=='id')?'selected = "selected"':'' }}>创建时间</option>--}}
                {{--<option value="sale_start_date" {{ (isset($request['order'])&&$request['order']=='sale_start_date')?'selected = "selected"':'' }}>销售时间</option>--}}
                {{--<option value="market_price" {{ (isset($request['order'])&&$request['order']=='market_price')?'selected = "selected"':'' }}>市场价</option>--}}
                {{--<option value="sale_price" {{ (isset($request['order'])&&$request['order']=='sale_price')?'selected = "selected"':'' }}>优惠价</option>--}}
                {{--<option value="number" {{ (isset($request['order'])&&$request['order']=='number')?'selected = "selected"':'' }}>数量</option>--}}
                {{--<option value="sales_count" {{ (isset($request['order'])&&$request['order']=='sales_count')?'selected = "selected"':'' }}>销量</option>--}}
            {{--</select>--}}
            {{--<select name="sort">--}}
                {{--<option value="">选择排序规则</option>--}}
                {{--<option value="desc" {{ (isset($request['order'])&&$request['order']=='desc')?'selected = "selected"':'' }}>倒序</option>--}}
                {{--<option value="asc" {{ (isset($request['order'])&&$request['order']=='asc')?'selected = "selected"':'' }}>正序</option>--}}
            {{--</select>--}}
            {{--{!! Form::submit('搜索', ['class' => 'btn btn-primary']) !!}--}}
            {{--{!! Form::close() !!}--}}
        {{--</div>--}}
    {{--</section>--}}
    {{--<div class="content">--}}
        {{--<div class="clearfix"></div>--}}

        {{--@include('flash::message')--}}

        {{--<div class="clearfix"></div>--}}
        {{--<div class="box box-primary">--}}
            {{--<div class="box-body">--}}
                    {{--@include('goods.table')--}}
            {{--</div>--}}
        {{--</div>--}}
    {{--</div>--}}
    {{--{{ $goods->appends($request)->links() }}--}}
    <div id="good-table">
        <router-view></router-view>
    </div>
@endsection

